package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.pojo.User;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    User login(User user);

    void register(User user);

    List<User> findAllPhone();


    User checkPhone(User user);

    void updatePassword(User user);
}
